﻿
namespace SaveTheQueen
{
    public class QualityConfig
    {
        private static QualityConfig singleton;
        public static QualityConfig Instance
        {
            get
            {
                if (singleton != null)
                    return singleton;
                else
                {
                    singleton = new QualityConfig(); // lazy initialization.
                    return singleton;
                }
            }
        }

        private QualityConfig()
        {
            AntiAliasing = true;
            ResolutionX = 800;
            ResolutionY = (ResolutionX * 9) / 16;
            VSync = true;
            FullScreen = false;
        }

        public readonly bool AntiAliasing;
        public readonly int ResolutionX;
        public readonly int ResolutionY;
        public readonly bool VSync;
        public readonly bool FullScreen;
    }
}
